.popup-content {
  position: absolute;
  z-index: 100;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(to top,
      rgba(255, 255, 255, 0.95) 0%,
      /* 提高不透明度至95% */
      rgba(255, 255, 255, 0.75) 50%,
      /* 添加中间色标 */
      rgba(255, 255, 255, 0.45) 100%
      /* 保持底部渐变 */
    );
  border-radius: 20px;
  opacity: 0;
  transition: all 0.5s ease !important;

  .popup-content-child {
    position: absolute;
    top: 60%;
    left: 50%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    // min-width: 270px;
    width: 90%;
    height: 40px;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    background: linear-gradient(90deg, #1b6dfa 0%, #00d0fe 181.25%);
    border-radius: 6px;
    transform: translate(-50%, -50%);
  }
}

.boxs:hover .popup-content {
  opacity: 1;
  z-index: 100;
}

.box-hover:hover {
  // border-image-source: linear-gradient(90deg, #1b6dfa 0%, #00d0fe 181.25%) !important;
  // border-image-slice: 1 !important;
  box-shadow: 0px 8px 16px 0px rgba(5, 110, 255, 0.16) !important;
  border: 2px solid transparent !important;
  border-radius: 12px !important;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(180deg, #1b6dfa 0%, #00d0fe 181.25%) border-box !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
}

.grid-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 16px;
  padding: 0;
}

.grid-module {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(298px, 298px));
  gap: 16px;
  padding: 0;
  justify-content: flex-start;
}

.grid-app {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
}

/* 隐藏滚动条 */
.modules::-webkit-scrollbar {
  display: none;
}

.modules {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.delete-modal {
  height: 155px;

  .ant-modal-body {
    height: 60px;
    line-height: 60px !important;
    text-align: center;
  }

  .ant-modal-footer {
    text-align: center !important;
  }
}

// .ant-modal-footer{
//   display: flex;
//   justify-content: space-between;
// }
.card-module {
  border: none !important;
  border-radius: 0px !important;

  .ant-card-body {
    padding: 0px !important;
  }
}

.create-agent {
  height: 238px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #e5e6eb;
  cursor: pointer;
  flex-shrink: 0;
  font-weight: 500;
}

.create-agent:hover {
  // border: 1px dashed #0080ff !important;
  background: #FEFFFF !important;
  border: 2px solid #1b6dfa !important;
  box-shadow: 0px 8px 16px 0px rgba(5, 110, 255, 0.16) !important;
  opacity: 0.85;
}

.create-MCP {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  background-color: #F7F8FA;
  cursor: pointer;
  flex-shrink: 0;
  font-weight: 500;
}

.create-MCP:hover {
  border: 2px solid #1b6dfa !important;
  box-shadow: 0px 8px 16px 0px rgba(5, 110, 255, 0.16) !important;
  background-color: #F7F8FA;
  opacity: 0.85;
}

.modals-mode {
  .ant-modal-body {
    background: #f3f5f9;
    padding: 1px 0 !important;
  }
}

.box-border {
  border-top: 2px solid transparent !important;
  border-top: 1px solid;
  backdrop-filter: blur(12px) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
}

.custom-dropdown .ant-dropdown-menu {
  /* 调整菜单整体内边距 */
  padding: 8px 8px !important;
  border-radius: 6px !important;
}